package com.bienvenue.main.loader;

import android.content.Context;
import android.widget.ImageView;

import com.bumptech.glide.Glide;
import com.youth.banner.loader.ImageLoader;

/**
 * @ProjectName: Bienvenue
 * @Package: com.bienvenue.main.loader
 * @ClassName: MyLoader
 * @Description: java类作用描述
 * @Author: liys
 * @CreateDate: 2020/9/8 9:40
 * @UpdateUser: Mr.Chen
 * @UpdateDate: 2020/9/8 9:40
 * @UpdateRemark: 更新说明
 * @Version: 1.0
 */


public class ImageBannerLoader extends ImageLoader {
    Context mContext;
    public ImageBannerLoader(Context context) {
        this.mContext=context;
    }//inner Class

    @Override
    public void displayImage(Context context, Object path, ImageView imageView) {
        Glide.with(mContext).load(path).into(imageView);
    }
}
